package com.hc.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 *@ClassName hc_cart
 *@Description 购物车
 *@Author TJ
 *@Date 2022/10/18 19:27
 *@Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Cart {
    private Integer id;
    //private User user;//用户id
    private Goods goods;//商品id
    private BigDecimal price;//价格
    private Integer num;//数量
}
 